//
//  SaUserInfoCenter.m
//  saas
//
//  Created by fangyibao on 2019/10/16.
//  Copyright © 2019 fangmao. All rights reserved.
//

#import "SaUserInfoCenter.h"
#import "MJExtension.h"

static SaUserInfoCenter *_c;
@implementation SaUserInfoCenter

- (void)configData:(SaUserInfoCenter *)data{
    
    self.accessToken = data.accessToken;
    self.userId = data.userId;
    self.expiresTime = data.expiresTime;
    self.refreshToken = data.refreshToken;
    
}
+ (instancetype)shareInstance{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _c = [self new];
    });
    return _c;
}
@end
